16/57

# hdfs.describe

Returns the metadata associated with a file in HDFS.

Usage

    hdfs.describe(
            dfs.id)

Arguments

dfs.id

  The name of a file in HDFS. The file name can include a path that is either absolute or relative to the current path.

Return Value

A data frame containing the metadata, or `NULL` if no metadata was available in HDFS

Example

This example provides information about an HDFS file named ontime_DB:

    R> hdfs.describe('ontime_DB')
               name
    1          path
    2        origin
    3         class
    4         types
    5           dim
    6         names
    7       has.key
    8    key.column
    9      null.key
    10 has.rownames
    11         size
    12        parts

    1                           values
    2                        ontime_DB
    3                          unknown
         .
         .
         .